package com.vchello.dao.project;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.vchello.bean.pro.ProjectChange;

public interface ProjectChangeDao extends BaseMapper<ProjectChange>{
	
	List<ProjectChange> findByUserId(int userId);
	
	List<Map<String, Object>> statisProgressFromOrganize(@Param("userId")int userId);
	
	Object[] findIdsByUserId(int userId);
	
	ProjectChange findProjectChangeByProId(int proId);
	
	List<Object[]> findHasProgress(int userId);
	
	List<ProjectChange> findProjectChangeByUserid(int userId);
	
	Object[] findDealmanIds(int investorId, int organizeId);
}
